package com.heima.domain.credit.repository;


/**
 * @author shixinrui
 * @description 用户积分仓储
 * @create 2025/2/1 19:09
 */

import com.heima.domain.credit.model.aggregate.TradeAggregate;
import com.heima.domain.credit.model.entity.CreditAccountEntity;


public interface ICreditRepository {

    void saveUserCreditTradeOrder(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);

}
